/*
write by wuweiwei
*/
App.Service1 = {
	init:function(p){
		this.template = App.wTemplate;
		this.news = [
			{
				title:"浙江宁波：中外师生留校过年 入乡村感受传统年俗",
				author:"中央电视台记者",
				date:"2018-1-12",
				resource:1
			},
			{
				title:"伊朗坚持美国先解除制裁 否则核计划不会“逆转”",
				author:"中央电视台记者",
				date:"2018-1-12",
				resource:2
			},
			{
				title:"你的车是否在其中？这款车因存安全隐患召回13399辆",
				author:"中央电视台记者",
				date:"2018-1-12",
				resource:2
			},
			{
				title:"解锁“新”年味！就地过年，暖心实招过出浓浓年味",
				author:"中央电视台记者",
				date:"2018-1-12",
				resource:1
			}
		];
		this.render();
	},
	render:function(){
		var tplObj;
		tplObj = new App.wTemplate({
			repeatElement:document.getElementById("myNews"),
			data:this.news
		});

	}
}
